package ldk.util.layoutmanagers;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.RecyclerView;
import android.view.View;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class MainActivity extends AppCompatActivity {
    @SuppressWarnings("unused")
    private static String TAG = "MainActivity";
    @BindView(R.id.recycler_view)
    RecyclerView mRecyclerView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ButterKnife.bind(this);
    }

    @OnClick(R.id.btn_autoline_layoutmanager)
    protected void onAutoLineLayoutManager(View view){

    }

    @OnClick(R.id.btn_center_layout)
    protected void onGotoCenterLayout(View view){
        Intent intent = new Intent(this, CenterLayoutManagerActivity.class);
        startActivity(intent);
    }

    @OnClick(R.id.btn_auto_span)
    protected void onAutoSpanLayout(View view){
        Intent intent = new Intent(this, AutoSpanGridLayoutManagerActivity.class);
        startActivity(intent);
    }

    @OnClick(R.id.btn_linear_layout)
    protected void onLinearLayout(View view){
        startActivity(new Intent(this, LinearLayoutWithKeyboardActivity.class));
    }
}
